home *** CD-ROM | disk | FTP | other *** search
- /*
- cvclinfo.cpp
-
- Information holder for ClassTreeView
-
- C++/Views 2.0 Demo
- Copyright (c) 1992, by Liant Software Corp.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- */
-
- #include "cvclinfo.h"
-
- defineTopClass(ClassInfo)
-
- ClassInfo::ClassInfo()
- {
- ;
- }
-
- ClassInfo::ClassInfo(char *n, ClassInfo *prev, int x, int y)
- : name(n)
- /*
- Construct a ClassInfo object.
-
- A ClassInfo object contains information used by the ClassTreeView
- class.
- */
- {
- if (prev) {
- prev->next = this;
- }
-
- next = 0;
- parent = 0;
- cx = x;
- cy = y;
- }
-
- ClassInfo::~ClassInfo()
- {
- ;
- }
-
- boolean ClassInfo::free()
- {
- delete this;
- return(TRUE);
- }
-
-